import useRequest from "@/api/useRequest";
import {IPage} from "@/interface/modules/system";

export class notificationController {

    static getNotification(data: any,pagination?: IPage): Promise<any> {
        return useRequest({
            url: "/sysRecipient/getNotification",
            method: "post",
            params: pagination,
            data
        })
    }

    static updateStatus(data:any): Promise<any> {
        return useRequest({
            url:"/sysRecipient/updateStatus",
            method:"post",
            data
        })
    }


}